package a;

import java.lang.reflect.Method;

public class BeanDefinition {
    private String id;
    private Class<?> className;
    private String scope="singleton";
    private Method init;
    private Method destroy;
    public Method getInit() {
        return init;
    }

    public void setInit(Method init) {
        this.init = init;
    }

    public Method getDestroy() {
        return destroy;
    }

    public void setDestroy(Method destroy) {
        this.destroy = destroy;
    }


    public Class<?> getClassName() {
        return className;
    }
    public void setClassName(Class<?> className) {
        this.className = className;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
